import service from '../utils/service'


// 添加到购物车
export const reqAddCart = ()=>service({
  url:`/api/cart/addToCart/${ 2 }/${ 1 }`,
  method:'POST'
})

// 获取购物车列表
export const reqGetCartList = ()=>service({
  url:`/api/cart/cartList`
})
// 退出登录
export const reqLogout = ()=>service({
  url:'/api/user/passport/logout'
})

// // 获取用户信息
// export const reqGetUserInfo = ()=>({
//   url:''
// })

